from django.conf.urls.defaults import *
from django.contrib.auth.decorators import login_required
from genuis.authors import views
from django.template import RequestContext

urlpatterns =  patterns ('',
    url(r'^invite_author',
        login_required(views.invite_author),
        name='author_invite'),
    url(r'^invite_confirm',
        login_required(views.confirm_invitation),
        name='confirm_invite'),
    url(r'^view_invitations',
        login_required(views.view_invitations),
        name='invitations_view'),
    )

 
